<?PHP
class Pics_indexModel extends Model {
    // 定义自动验证
    protected $_validate    =   array(
        array('title','require','标题必须'),
		array('width','require','缩略图宽度必须'),
		array('height','require','缩略图高度必须'),
        );	
}
?>